﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;
using MySql.Data.MySqlClient;
using IPTV.dao;
using IPTV.module;
using System.Data;
using IPTV.util;

/// <summary>
///indexService 的摘要说明
/// </summary>
namespace IPTV.service
{
    public class ActivityService
    {
        public ActivityService()
        {
            
        }

        public List<CourseDto> getFreeCourse()
        {
            ActivityDao avDao = new ActivityDao();
            return avDao.getFreeCourse();
        }

        public List<CourseDto> getPlayLog(string uid)
        {
            ActivityDao avDao = new ActivityDao();
            return avDao.getPlayLog(uid);
        }

        public List<CourseDto> getAD()
        {
            ActivityDao avDao = new ActivityDao();
            return avDao.getAD();
        }
    }


}